package com.yanghongyue.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yanghongyue.reggie.bean.Dish;
import com.yanghongyue.reggie.bean.dto.DishDto;

/**
 * @author HongyueYang
 */
public interface DishService extends IService<Dish> {
    //新增菜品
    void saveDish(DishDto dto);

    //根据id查询菜品及其对应的口味信息
    DishDto getDishWithFlavors(Long id);

    //修改菜品
    void updateDishWithFlavors(DishDto dto);
}
